package io.renren.modules.store.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * 
 * @author steakliu
 * @email 2319492349@qq.com
 * @date 2021-01-25 21:22:21
 */
@Data
@TableName("t_store_account_unit")
@Accessors(chain = true)
public class TStoreAccountUnitEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 挂账单位id
	 */
	@TableId
	private Long accountUnitId;
	/**
	 * 挂账单位名字
	 */
	private String accountUnitName;
	/**
	 * 单位电话
	 */
	private String accountUnitTel;
	/**
	 * 手机号
	 */
	private String tel;
	/**
	 * 所属租户
	 */
	private Long sellerId;
	/**
	 * 总挂单数
	 */
	private Integer totalAccountNum;
	/**
	 * 未结款单数
	 */
	private Integer notSettlementNum;
	/**
	 * 未结款总额
	 */
	private Double notSettlementTotal;

	//本次结款金额
	@TableField(exist = false)
	private Double money;
	//结款人
	@TableField(exist = false)
	private String settlementLink;
	//电话
	@TableField(exist = false)
	private String settlementTel;
	@TableField(exist = false)
	private String payMethod;

	/**
	 * 状态(1启用2关闭)
	 */
	private Integer status;
	/**
	 * 备注
	 */
	private String remark;

}
